import Layout from '@/layout'

const wxMpRouter = [{
  path: '/wxMp',
  component: Layout,
  redirect: '/wxMp/wxMpAuthorize',
  alwaysShow: true,
  name: 'wxMp',
  meta: {
    title: 'wxMp',
    icon: 'lock'
  },
  children: [
    {
      path: 'wxMpAuthorize',
      component: () => import('@/views/wxMp/wxMpAuthorize'),
      name: 'wxMpAuthorize',
      meta: {
        title: '公众号设置 - '
      }
    },
    {
      path: 'userTag',
      component: () => import('@/views/wxMp/userTag'),
      name: 'userTag',
      meta: {
        title: '用户标签 - '
      }
    },
    {
      path: 'wxMpFans',
      component: () => import('@/views/wxMp/wxMpFans'),
      name: 'wxMpFans',
      meta: {
        title: '粉丝管理 - '
      }
    },
    {
      path: 'wxMpMessageTemplate',
      component: () => import('@/views/wxMp/wxMpMessageTemplate'),
      name: 'wxMpMessageTemplate',
      meta: {
        title: '消息模板 - '
      }
    },
    {
      path: 'wxMpMessage',
      component: () => import('@/views/wxMp/wxMpMessage'),
      name: 'wxMpMessage',
      meta: {
        title: '消息管理 - '
      }
    },
    {
      path: 'wxMpMediaSource',
      component: () => import('@/views/wxMp/wxMpMediaSource'),
      name: 'wxMpMediaSource',
      meta: {
        title: '素材管理 - '
      }
    },
    {
      path: 'customMenu',
      component: () => import('@/views/wxMp/customMenu'),
      name: 'customMenu',
      meta: {
        title: '菜单设置 - '
      }
    },
    {
      path: 'wxMpReplyMessage',
      component: () => import('@/views/wxMp/wxMpReplyMessage'),
      name: 'wxMpReplyMessage',
      meta: {
        title: '事件消息 - '
      }
    },
    {
      path: 'wxMpMassMessage',
      component: () => import('@/views/wxMp/wxMpMassMessage'),
      name: 'wxMpMassMessage',
      meta: {
        title: '消息群发 - '
      }
    },
    {
      path: 'dataStatistics',
      component: () => import('@/views/wxMp/dataStatistics'),
      name: 'dataStatistics',
      meta: {
        title: '统计分析 - '
      }
    },
    {
      path: 'demo',
      component: () => import('@/views/wxMp/demo'),
      name: 'demo',
      meta: {
        title: 'demo'
      }
    },
    {
      path: 'demo1',
      component: () => import('@/views/wxMp/demo1'),
      name: 'demo1',
      meta: {
        title: 'demo1'
      }
    }
  ]
}]
export default wxMpRouter
